package com.youhome.api.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by chen365 on 2018/07/10.
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel
public class SchoolDetail {

    @ApiModelProperty(notes = "学校名称")
    private String name;

    @ApiModelProperty(notes = "所覆盖年级")
    private String grade;

    @ApiModelProperty(notes = "地址")
    private String address;

    @ApiModelProperty(notes = "学校类别")
    private String type;

    @ApiModelProperty(notes = "私立/公立")
    private String admission;

    @ApiModelProperty(notes = "联系电话")
    private String phone;

    @ApiModelProperty(notes = "网站")
    private String url;

    @ApiModelProperty(notes = "是否有 AP")
    private Boolean advanced_placement;

    @ApiModelProperty(notes = "是否特许学校")
    private Boolean charter;

    @ApiModelProperty(notes = "平均花在每个学校开销")
    private Double expenditure;

    @ApiModelProperty(notes = "是否有图书馆")
    private Boolean library;

    @ApiModelProperty(notes = "校长名称")
    private String principal;

    @ApiModelProperty(notes = "评级")
    private String rating;

    @ApiModelProperty(notes = "学生总数")
    private Double total_students;

    @ApiModelProperty(notes = "教师总数")
    private Double total_teachers;

    @ApiModelProperty(notes = "师生比")
    private String student_teacher_ratio;

    @ApiModelProperty(notes = "学校族裔数据统计")
    private RaceItemResult race;

    @ApiModelProperty(notes = "性别统计")
    private GenderItemResult gender;

    @ApiModelProperty(notes = "年级人数统计")
    private Enrollment  enrollment;
}
